#ifndef _BYTECODE_HPP
#define _BYTECODE_HPP

#include "Object.hpp"

using namespace object;

#include <vector>

class ByteCode {
public:
	ByteCode(std::vector<int> constants, std::vector<Object*> operands) 
		: _instructions(constants)
		, _operands(operands) {
	}

	std::vector<int>& getInstruction() { return _instructions; }

	std::vector<Object*>& getOperands() { return _operands; }

private:
	std::vector<int> _instructions;
	std::vector<Object*> _operands;
};

#endif // !_BYTECODE_HPP
